@import "_loginImport";

body {
  background: #F5F5F5;
  font-family: PingFangSC-Medium, PingFang SC;
}

header {
  margin: getRemNum(24rem) auto 0;
  width: getRemNum(375rem);
  height: getRemNum(43rem);
  box-sizing: border-box;
  padding: 0 getRemNum(16rem) 0 getRemNum(17rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;

  .back {
    height: getRemNum(12rem);
    width: getRemNum(12rem);
    background: url('https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/close.png') no-repeat;
    background-size: contain;
  }

  .search-box {
    position: relative;
    height: getRemNum(34rem);
    width: getRemNum(228rem);

    .search-button {
      position: absolute;
      margin: getRemNum(10rem) 0;
      left: getRemNum(16rem);
      text-align: left;
      display: block;
      width: getRemNum(16rem);
      height: getRemNum(16rem);
      background: url('https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/searchButton.png') no-repeat;
      background-size: contain;
    }


    input {
      font-family: PingFangSC-Regular, PingFang SC;
      background: #FFFFFF;
      height: getRemNum(34rem);
      width: getRemNum(230rem);
      border-radius: getRemNum(8rem);
      font-size: getRemNum(14rem);
      border: none;
      outline: none;
      text-align: left;
      line-height: getRemNum(20rem);
      letter-spacing: getRemNum(0.7rem);
      box-sizing: border-box;
      padding: 0 getRemNum(40rem);
    }
  }

  .deleted, .manageReleases {
    height: getRemNum(34rem);
    width: getRemNum(69rem);
    border-radius: getRemNum(8rem);
    font-family: PingFangSC-Medium, PingFang SC !important;
    font-size: getRemNum(14rem);
    font-weight: bold;
    line-height: getRemNum(34rem);
    color: #fff;
    white-space: nowrap;
    background: linear-gradient(135deg, #4279FD 0%, #89B1FF 100%);

    a {
      display: block;
      color: #fff;
    }
  }

}

#container {
  width: getRemNum(375rem);
  margin: 0 auto;

  .view-final-grade-text {
    height: getRemNum(62rem);
    display: flex;
    justify-content: center;
    align-items: center;

    p {
      font-size: getRemNum(18rem);
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: bold;
      color: #333333;
    }
  }

  .school-year {
    width: getRemNum(375rem);
    height: getRemNum(40rem);
    margin: 0 auto;
    background: #fff;
    padding: 0 getRemNum(87rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;

    .last-school-year, .next-school-year {
      width: getRemNum(24rem);
      height: getRemNum(24rem);
      background: url("https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/go.png") no-repeat;
      background-size: contain;
    }

    .last-school-year {
      transform: rotate(180deg);
    }

    .school-year-text {
      position: relative;
      width: getRemNum(140rem);
      height: getRemNum(20rem);
      font-size: getRemNum(12rem);
      text-align: center;
      font-family: PingFangSC-Regular, PingFang SC;
      color: #161516;
      line-height: getRemNum(20rem);
      overflow: hidden;

    }
  }

  .grade {
    height: getRemNum(84rem);
    background: #FFC542;
    display: flex;
    justify-content: space-between;
    margin-top: getRemNum(12rem);

    .fraction {
      width: getRemNum(84rem);
      height: getRemNum(84rem);
      background: #fff;
      padding: getRemNum(16rem) 0 getRemNum(15rem);
      box-sizing: border-box;
      font-family: PingFangSC-Medium, PingFang SC;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      p:nth-child(1) {
        font-size: getRemNum(16rem);
        color: #333333;
        line-height: getRemNum(22rem);
        letter-spacing: getRemNum(0.6rem);
      }

      p:nth-child(2) {
        font-size: getRemNum(18rem);
        font-weight: bold;
        color: #F96B6B;
        line-height: getRemNum(25rem);
        letter-spacing: getRemNum(0.68rem);
      }
    }

    .subject {
      width: getRemNum(287rem);
      height: getRemNum(84rem);
      background: #fff;
      padding: getRemNum(16rem) getRemNum(12rem);
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      p:nth-child(1) {
        font-size: getRemNum(16rem);
        font-weight: bold;
        color: #161516;
        line-height: getRemNum(22rem);
        letter-spacing: getRemNum(0.6rem);
      }

      p:nth-child(2) {
        font-size: getRemNum(14rem);
        font-family: PingFangSC-Regular, PingFang SC;
        color: #161516;
        line-height: getRemNum(20rem);
      }
    }
  }

  .ranking-list {
    height: getRemNum(84rem);
    background: #FFC542;
    margin-top: getRemNum(12rem);
    display: flex;
    justify-content: space-between;

    > section {
      width: getRemNum(122rem);
      height: 100%;
      background: #fff;
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      align-items: center;

      p {
        font-size: getRemNum(16rem);
        color: #333333;
      }

      i {
        font-size: getRemNum(18rem);
        font-style: normal;
        color: #161516;
        letter-spacing: getRemNum(0.68rem);
      }

      &:nth-child(1) i {
        color: #F96B6B !important;
      }

      &:nth-child(2) i {
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: bold;
      }

      &:nth-child(3) i {
        font-size: getRemNum(14rem) !important;
      }
    }
  }

  .download-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: getRemNum(76rem);

    .download {
      position: relative;
      width: getRemNum(125rem);
      height: getRemNum(44rem);
      background: #FFC542;
      border-radius: getRemNum(8rem);
      color: #fff;
      font-size: getRemNum(16rem);
      letter-spacing: getRemNum(0.69rem);
      font-family: PingFangSC-Medium, PingFang SC;
      line-height: getRemNum(22rem);
      display: flex;
      justify-content: center;
      align-items: center;

      input {
        position: absolute;
        z-index: 10;
        top: 0;
        left: 0;
        width: getRemNum(125rem);
        height: getRemNum(44rem);
        opacity: 0;
      }
    }
  }
}
.no-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: getRemNum(550rem);
  color: #D8D8D8;
  font-size: getRemNum(16rem);
  letter-spacing: getRemNum(0.6rem);
  font-family: PingFangSC-Regular, PingFang SC;

  & > section:first-child {
    width: getRemNum(38rem);
    height: getRemNum(38rem);
    background: url("https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/emoticon%403x.png") no-repeat;
    background-size: contain;
    margin-bottom: getRemNum(6rem);
  }

  & > section:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;

    p {
      margin-bottom: getRemNum(5rem);
    }
  }
}